using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using DAO;
using DTO;

namespace BUS
{
    public class PhuCapBUS
    {
        public DataTable sp_LayPhuCapMotNhanVien(string MaNhanVien)
        {
            PhuCapDAO phucap_dao = new PhuCapDAO();
            return phucap_dao.sp_LayPhuCapMotNhanVien(MaNhanVien);
        }
        public void sp_ThemPhuCap(PhuCapDTO PhuCap)
        {
            PhuCapDAO phucap_dao = new PhuCapDAO();
            phucap_dao.sp_ThemPhuCap(PhuCap);
        }
        public void sp_XoaPhuCap(int MaPhuCap)
        {
            PhuCapDAO phucap_dao = new PhuCapDAO();
            phucap_dao.sp_XoaPhuCap(MaPhuCap);
        }
        public void sp_CapNhatPhuCap(PhuCapDTO PhuCap)
        {
            PhuCapDAO phucap_dao = new PhuCapDAO();
            phucap_dao.sp_CapNhatPhuCap(PhuCap);
        }
    }
}
